
$dataStore.add("boolTF", "codeText", [['','　'],['T','True'],['F','False']] );
$dataStore.add("boolYN", "codeText", [['','　'],['Y','Yes'],['N','No']] );

$dataStore.add("sexsSelect", "onlyCode", [['　'],['Male'],['Female']] );
$dataStore.add("sexs", "codeText", [['','　'],['M','Male'],['F','Female']] );
$dataStore.add("userStatus", "onlyCode", [ ['Active'],['Disabled'],['Locked']]);
$dataStore.add("showArea", "codeText", [['C','Create'],['S','Search'],['R','Result'], ['D','Detail'],['M','Modify']] );
$dataStore.add("diagType", "codeText", [['','　'],['1','傷病'],['2','意外事故'],['3','死亡原因'],['4','妊娠併發症']] );
$dataStore.add("disabilityType", "codeText", [['','　'],['DIS','Disability'],['MBR','Major Burn'],['BUR','Burn']] );
$dataStore.add("doubledIndicator", "codeText", [['','　'],['Y','重大疾病/雙倍給付/重大手術'], ['N','非重大疾病/雙倍給付/重大手術']] );
$dataStore.add("hospitalClass", "codeText", [['','　'],['1','1st Class'],['2','2nd Class'],['3','3rd Class'],['4','Other']] );
$dataStore.add("criticalIllnessType", "codeText", [['','　'],['MALE','MALE'],['FEMALE','FEMALE'],['BH_CI','BH_CI'],['CHILD_ILL','CHILD_ILL'],['FCR_CI','FCR_CI']] );
$dataStore.add("communicationType", "codeText", [['','　'],['L','Letter'],['T','Tel'],['E','Email']] );


$component.addConfig('textfield',{xtype:'textfield'} );
$component.addConfig('textarea',{xtype:'textarea'} );
$component.addConfig('datefield',{xtype:'datefield',format:'Y-m-d H:i:s.u'} );
$component.addConfig('timefield',{xtype:'timefield'} );


$component.add("sexs", "sexs", "comboText" ) ;
$component.add("userState", "userStatus", "comboCode" );
$component.add("showArea", "showArea", "comboText" );
$component.add("diagType", "diagType", "comboText" );
$component.add("disabilityType", "disabilityType", "comboText" );
$component.add("sexsSelectBox", "sexsSelect", "comboCode" );

$component.add("selectTF", "boolTF", "comboText" );
$component.add("selectYN", "boolYN", "comboText" );
$component.add("selectYNDoubledIndicator", "doubledIndicator", "comboText" );
$component.add("selectHospitalClass", "hospitalClass", "comboText" );
$component.add("radioYN", "boolYN", "radioText" );
$component.add("checkYN", "boolYN", "checkText" );


$component.add("criticalIllnessType", "criticalIllnessType", "comboText" );
$component.add("communicationType", "communicationType", "comboText" );

